﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace PersonaLibrary.ViewModel
{
    public  delegate void SaveItemEventHandler(object sender, SaveItemEventArgs e);

    public class SaveItemEventArgs : EventArgs
    {
        private bool isNew;
        private object item;

        public bool IsNew
        {
            get
            {
                return isNew;
            }
        }

        public object Item
        {
            get
            {
                return item;
            }
        }

        public SaveItemEventArgs(bool isNew, object item)
        {
            this.isNew = isNew;
            this.item = item;
        }
    }
}
